using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class LogSuccessBulkOperationRequest : OrganizationRequest
	{
		public Guid BulkOperationId
		{
			get
			{
				if (base.Parameters.Contains("BulkOperationId"))
				{
					return (Guid)base.Parameters["BulkOperationId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["BulkOperationId"] = value;
			}
		}
		public Guid RegardingObjectId
		{
			get
			{
				if (base.Parameters.Contains("RegardingObjectId"))
				{
					return (Guid)base.Parameters["RegardingObjectId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["RegardingObjectId"] = value;
			}
		}
		public int RegardingObjectTypeCode
		{
			get
			{
				if (base.Parameters.Contains("RegardingObjectTypeCode"))
				{
					return (int)base.Parameters["RegardingObjectTypeCode"];
				}
				return 0;
			}
			set
			{
				base.Parameters["RegardingObjectTypeCode"] = value;
			}
		}
		public Guid CreatedObjectId
		{
			get
			{
				if (base.Parameters.Contains("CreatedObjectId"))
				{
					return (Guid)base.Parameters["CreatedObjectId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["CreatedObjectId"] = value;
			}
		}
		public int CreatedObjectTypeCode
		{
			get
			{
				if (base.Parameters.Contains("CreatedObjectTypeCode"))
				{
					return (int)base.Parameters["CreatedObjectTypeCode"];
				}
				return 0;
			}
			set
			{
				base.Parameters["CreatedObjectTypeCode"] = value;
			}
		}
		public string AdditionalInfo
		{
			get
			{
				if (base.Parameters.Contains("AdditionalInfo"))
				{
					return (string)base.Parameters["AdditionalInfo"];
				}
				return null;
			}
			set
			{
				base.Parameters["AdditionalInfo"] = value;
			}
		}
		public LogSuccessBulkOperationRequest()
		{
			base.RequestName = "LogSuccessBulkOperation";
			this.BulkOperationId = default(Guid);
			this.RegardingObjectId = default(Guid);
			this.RegardingObjectTypeCode = 0;
			this.CreatedObjectId = default(Guid);
			this.CreatedObjectTypeCode = 0;
			this.AdditionalInfo = null;
		}
	}
}
